inspector: fix crash caused by uninitialized GVariant
authorNelson Benítez León <nbenitezl@gmail.com>
Thu, 6 Apr 2023 22:45:59 +0000 (18:45 -0400)
committerNelson Benítez León <nbenitezl@gmail.com>
Fri, 7 Apr 2023 00:05:53 +0000 (20:05 -0400)
commited8148bd076454d1f51adb7158547318195f4e0c
treeb92e4a731079ee928eb5c410055acbddb2e429a6
parent9608e4e503df28e31137f4841409876f5aaf1e0d
inspector: fix crash caused by uninitialized GVariant

we were not checking the return gboolean of
gtk_action_muxer_query_action() which was
returning FALSE for the crash case, meaning
it didn't set the passed in GVariant, but
we were still using it as it was non-null.

Fixes #5729
gtk/inspector/actions.c